<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>Table</title>
		<link rel="stylesheet" href="__PUBLIC__/admintpl/plugins/layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="__PUBLIC__/admintpl/css/global.css" media="all">
		<link rel="stylesheet" href="__PUBLIC__/admintpl/plugins/font-awesome/css/font-awesome.min.css">
		<link rel="stylesheet" href="__PUBLIC__/admintpl/css/table.css" />
		<script language="JavaScript" src="__PUBLIC__/admintpl/js/jquery.js"></script>
	</head>

	<body>
		<div class="admin-main">

			<blockquote class="layui-elem-quote">
				
				<a href="__URL__/index" class="layui-btn layui-btn-small">
					<i class="fa fa-area-chart"></i>立即备份
				</a>
				
				<a href="__URL__/down" class="layui-btn layui-btn-danger layui-btn-small" id="add">
					<i class="fa fa-refresh"></i> 刷新
				</a>
			</blockquote>
			
			<fieldset class="layui-elem-field">
				<legend>数据列表</legend>
				<div class="layui-field-box">
					<table class="site-table table-hover">
						<thead>
							<tr>
								<th>备份文件名</th>
								<th>备份时间</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<volist name="list" id="table">
							<tr>
								
								<td>{$table.name}</td>
								<td>{$table.ctime|date="Y-m-d H:i:s",###}</td>
								<td class="action">
								   <a class="layui-btn layui-btn-mini" href="/Public/database/{$table.name}">下载</a>&nbsp;
								   <a class="layui-btn layui-btn-danger layui-btn-mini" href="__URL__/delete/name/{$table.name}">删除</a>
								</td>
							</tr>
							</volist>
							<tr style="color:red">
								<td colspan="3">提示：1.为防止恶意扫描软件，请下载后马上删除文件(未及时删除导致的问题我方不负任何法律责任) 2.下载后请将文件拓展名.zip改为.sql。</td>
							</tr> 
						</tbody>
					</table>

				</div>
			</fieldset>
			
		</div>
		
		
	</body>

</html>